package cn.com.taurus.impl;

import cn.com.taurus.entity.FundAndFundManager;
import cn.com.taurus.mapper.FundAndFundManagerMapper;
import cn.com.taurus.service.FundAndFundManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhy
 * @createTime 2021-6-3 20:49:18
 * @remark 基金和基金经理Impl层
 * @version 1.0
 */
@Service
public class FundAndFundManagerImpl implements FundAndFundManagerService {
    @Autowired
    FundAndFundManagerMapper managerFundMapper;

    @Override
    public int selectFfmId() {
        return managerFundMapper.selectFfmId();
    }

    @Override
    public void addFundAndFundManager(List<FundAndFundManager> fundAndFundManagerData){
        managerFundMapper.addFundAndFundManager(fundAndFundManagerData);
    }
}

